package com.java.comprehensive.design.building_modelling.abstract_factory_pattern.heima;

public class Test {
    public static void main(String[] args) {
        DessertFactory italy = new ItalyDessertFactory();
        Dessert dessert = italy.createDessert();
        Coffee coffee = italy.createCoffee();

        System.out.println(coffee.getName());
        dessert.show();
    }
}
